<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

//XXX: find a better way!
$base_url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http");
$base_url .= "://".$_SERVER['HTTP_HOST'];
$base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);

define('_SEP', '&nbsp;');
define('_MED_SEP', '&nbsp;&nbsp;');
define('_WIDE_SEP', '&nbsp;&nbsp;&nbsp;&nbsp;');

define('IMPORTANT', 1);
define('NORMAL', 0);
define('INFO', -1);

$config['appname']				= 'Sistem Informasi Rumah Sakit HKBP Balige';
$config['appname_short']		= 'SIRS';

$config['log_access']			= FALSE; // TRUE jika akses ingin di-log
$config['use_history']			= FALSE; // TRUE jika ingin menggunakan tabel history

$config['hidden_columns']		= array('id', 'ucrea', 'dcrea', 'icrea', 'uupd', 'dupd', 'iupd');
$config['hidden_columns_type']	= array();
$config['auto_columns']			= array('id', 'ucrea', 'dcrea', 'icrea', 'uupd', 'dupd', 'iupd');
$config['auto_columns_type']	= array('FILENAME');

$config['vendor_path']			= APPPATH.'vendors/';

$config['table_records_per_page'] = 20;
$config['data_nav_labels']		= array(
	'FIRST' => '<img src="'.$base_url.'images/icons/fugue/control-stop-180.png" alt="First" title="First" border="0" style="margin-bottom:-3px" />',
	'PREV' => '<img src="'.$base_url.'images/icons/fugue/control-180.png" alt="Previous" title="Previous" border="0" style="margin-bottom:-3px" />',
	'NEXT' => '<img src="'.$base_url.'images/icons/fugue/control.png" alt="Next" title="Next" border="0" style="margin-bottom:-3px" />',
	'LAST' => '<img src="'.$base_url.'images/icons/fugue/control-stop.png" alt="Last" title="Last" border="0" style="margin-bottom:-3px" />',
								);
$config['data_nav_separator']	= _SEP;
$config['data_nav_wide_separator']	= _WIDE_SEP;


$config['action_labels']		= array(
	'VIEW' => '<img src="'.$base_url.'images/icons/fugue/magnifier.png" alt="View" title="View" border="0" />',
	'UPDATE' => '<img src="'.$base_url.'images/icons/fugue/pencil.png" alt="Update" title="Update" border="0" />',
	'DELETE' => '<img src="'.$base_url.'images/icons/fugue/eraser.png" alt="Delete" title="Delete" border="0" />',
	'SELECT' => '<img src="'.$base_url.'images/icons/fugue/overlay/pencil--arrow.png" alt="Select" title="Select" border="0" />',
	'DISABLED_VIEW' => '<img src="'.$base_url.'images/icons/fugue/overlay/magnifier--minus.png" alt="View" title="Disabled View" border="0" />',
	'DISABLED_UPDATE' => '<img src="'.$base_url.'images/icons/fugue/overlay/pencil--minus.png" alt="Update" title="Disabled Update" border="0" />',
	'DISABLED_DELETE' => '<img src="'.$base_url.'images/icons/fugue/overlay/eraser--minus.png" alt="Delete" title="Disabled Delete" border="0" />',
	'DISABLED_SELECT' => '<img src="'.$base_url.'images/icons/fugue/overlay/pencil--minus.png" alt="Select" title="Disabled Select" border="0" />',
								);

/* End of file MY_config.php */
/* Location: ./system/application/config/MY_config.php */
